<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>webp-converter</title>
</head>
<body>
<notempty name="error">
    <div>
        <p style="color:red">{{error}}</p>
    </div>
</notempty>
<form action="@url('webp-converter')" method="post" enctype="multipart/form-data">
    <input type="file" name="filename" accept="image/png,image/jpeg,image/gif"/>
    <input type="submit" value="转化">
</form>
<br>
点击下载
<br>
<notempty name="download">
    <div>
        <a href="/{{download}}" download="{{name}}">{{name}}</a>
    </div>
</notempty>
</body>
</html>